[Quick] One-step article publish
Publish a complete X Article in a single call. Suitable for simple, one-shot use cases.
⚠️ Recommended: use the step-by-step flow instead. The step-by-step flow gives you full control — preview the draft before publishing, retry individual steps on failure, and reuse the same
article_idacross multiple calls.Step-by-step endpoints:
POST /x/articles/draft→ getarticle_idPUT /x/articles/{article_id}/cover(optional)PUT /x/articles/{article_id}/titlePUT /x/articles/{article_id}/contentPOST /x/articles/{article_id}/publish→ gettweet_id
Returns article_id and tweet_id on success.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Twitter cookie string (auth_token=...; ct0=...; twid=...)
Article title
Article body in Markdown format
Cover image: https URL or local file path (optional)
Visibility: Public / Followers / Mentioned